← Back

Harness Tool Blocks

ToolCallBlock.render [intermediate]

Agent tool-call/tool-result blocks with a status glyph and an untrusted-output taint badge

Harness Tool Blocks Demo

Agent tool-call/tool-result blocks with a status glyph and an untrusted-output taint badge

For the full interactive experience:

$ mix raxol.playground

Code
column style: %{gap: 1} do
  [
    text("Harness Tool Blocks Demo", style: [:bold]),
    divider(),
    text("Tool call (running -> done):", style: [:dim]),
    ToolCallBlock.render(model.call, context),
    divider(),
    text("Tool result (trusted):", style: [:dim]),
    ToolResultBlock.render(model.result, context),
    divider(),
    text("Tool result (tainted, collapsible):", style: [:dim]),
    ToolResultBlock.render(model.tainted, context),
    divider(),
    text("[space] tainted result   [r] replay call", style: [:dim])
  ]
end
demo j/k prev/next / focus demo esc back 42/42 demos